package jiaerc.moreingredients;

import jiaerc.moreingredients.effect.EffectSpicy;
import net.minecraft.potion.Effect;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.registries.DeferredRegister;
// 修正导入路径（关键修改）
import net.minecraftforge.registries.ForgeRegistries; // [!code ++]
import static jiaerc.moreingredients.MoreIngredients.MOD_ID;

public class MoreIngredientsEffects {
    public static final DeferredRegister<Effect> EFFECTS =
            DeferredRegister.create(ForgeRegistries.POTIONS, MOD_ID);
    public static final RegistryObject<Effect> SPICY_EFFECT =
            EFFECTS.register("spicy", EffectSpicy::new);

}